package cn.zwx.search.model.req;

import cn.zwx.search.annotation.Document;
import cn.zwx.search.annotation.EsId;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @description: 删除索引类
 * @projectName:search-example
 * @see:cn.zwx.search.model.req
 * @author:zhangwenxue
 * @createTime:2020/10/24 16:39
 * @version:1.0
 */
@Document(index = "t_product_info")
@Data
public class DelDocReq {

    /**
     * @description 文档id
     **/
    @NotBlank(message = "文档id不能为空")
    private String productId;

}
